package com.lin.missyou.repository;

import com.lin.missyou.models.Category;
import com.lin.missyou.models.GridCategory;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GridCategoryRespository extends JpaRepository<GridCategory,Long> {
    List<GridCategory> findAllByOrderByIdDesc();
}
